@tailwind base;
@tailwind components;
@tailwind utilities;

@source "../node_modules/streamdown/dist/index.js";

@layer base {
  :root {
    /* 
    --background: 240 8% 10%;
    --foreground: 240 8% 80%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 240 8% 10%;
    --popover-foreground: 240 8% 80%;

    --primary: 240 5% 19%;
    --primary-foreground: 240 5% 19%;

    --secondary: 210 8% 12.5%;
    --secondary-foreground: 240 8% 70%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 240 8% 16%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 240 6% 17%;
    --input: 240 6% 17%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem; */

    --background: 0 0% 4%;
    --foreground: 0 8% 90%;

    --card: 240 4% 12%;
    --card-foreground: 240 8% 80%;

    --popover: 0 0% 8%;
    --popover-foreground: 0 8% 90%;

    --primary: 18 59% 55%;
    --primary-foreground: 16 0% 91%;

    --secondary: 240 4% 16%;
    --secondary-foreground: 0 0% 71%;

    --muted: 240 6% 16%;
    --muted-foreground: 0 0% 52%;

    --accent: 232 9% 17%;
    --accent-foreground: 210 100% 100%;

    --destructive: 0 60% 50%;
    --destructive-foreground: 210 40% 98%;

    --success: 142.1 76.2% 36.3%;
    --success-foreground: 355.7 100% 97.3%;

    --border: 240 6% 18%;
    --input: 240 6% 18%;
    --ring: 212 96% 78%;

    --radius: 0.5rem;

    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;

    --tool: 42 93% 46%;
    --llm: 262 83% 58%;
    --llm-foreground: 272 100% 74%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --success: 142.1 76.2% 36.3%;
    --success-foreground: 355.7 100% 97.3%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;

    --ring: 212.7 26.8% 83.9%;

    --sidebar-background: 240 5.9% 10%;

    --sidebar-foreground: 240 4.8% 95.9%;

    --sidebar-primary: 224.3 76.3% 48%;

    --sidebar-primary-foreground: 0 0% 100%;

    --sidebar-accent: 240 3.7% 15.9%;

    --sidebar-accent-foreground: 240 4.8% 95.9%;

    --sidebar-border: 240 3.7% 15.9%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
    color-scheme: dark;
  }

  body {
    @apply bg-background text-foreground;
  }
}

@layer utilities {

  /* Hide scrollbar for Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  .no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .hide-arrow[type="number"]::-webkit-inner-spin-button,
  .hide-arrow[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}